package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkDomianDao;
import com.suke.czx.modules.wxadmin.entity.DkDomianEntity;
import com.suke.czx.modules.wxadmin.service.DkDomianService;



@Service("dkDomianService")
public class DkDomianServiceImpl implements DkDomianService {
	@Autowired
	private DkDomianDao dkDomianDao;
	
	@Override
	public DkDomianEntity queryObject(String id){
		return dkDomianDao.queryObject(id);
	}
	
	@Override
	public List<DkDomianEntity> queryList(Map<String, Object> map){
		return dkDomianDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkDomianDao.queryTotal(map);
	}
	
	@Override
	public void save(DkDomianEntity dkDomian){
		dkDomianDao.save(dkDomian);
	}
	
	@Override
	public void update(DkDomianEntity dkDomian){
		dkDomianDao.update(dkDomian);
	}
	
	@Override
	public void delete(String id){
		dkDomianDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dkDomianDao.deleteBatch(ids);
	}
	
}
